package com.irssproject.app.service.main.iface;

import java.util.List;

import com.irssproject.app.entitats.User;

public interface UsersService {

    public void updateUser(User usr) throws Exception;

    public Boolean addUser(User usr) throws Exception;

    public void deleteUser(User usr);

    public User login(String login, String password) throws Exception;

    public List<User> getUsersList();

    public boolean existsLogin(String login);

    boolean existsUser(String login, String password);

    public User getUserByLogin(String login);
}
